<?
//<@
class stock_jsml_Ds extends jsml_Bean{
	public $pdo;
	public function construct($key) {
		parent::construct($key);
		if (null == $key) {
			$this->pdo = new PDO(
				"mysql:host=localhost;dbname=ck2;charset=UTF-8",
				"ck2","ck2",
			array(
			PDO::ATTR_PERSISTENT => true
			,PDO::ATTR_ERRMODE=>PDO::ERRMODE_EXCEPTION
			,PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"
			)
			);
		}
		return $this;
	}
}
//@>